package com.like.network;

import com.like.entity.GeneralResponse;
import com.like.entity.GetMeetingListReq;
import com.like.entity.MeetingCourseListReq;
import com.like.entity.MeetingCourseListResp;
import com.like.entity.MeetingDetailReq;
import com.like.entity.MeetingDetailResp;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

public interface MeetingService {

    @FormUrlEncoded
    @POST("open/meetingformationlist/1.cshtml")
    Call<GeneralResponse<String>> getMeetingList(@Field("MsgID") String msgId, @Field("Secret") String secret, @Field("Data") GetMeetingListReq getMeetingListReq);

    @FormUrlEncoded
    @POST("open/readmeetingcoursewareres/1.cshtml")
    Call<GeneralResponse<MeetingDetailResp>> getMeetingDetail(@Field("MsgID") String msgId, @Field("Secret") String secret, @Field("Data") MeetingDetailReq meetingDetailReq);

    @FormUrlEncoded
    @POST("open/meetingformationlist/1.cshtml")
    Call<GeneralResponse<MeetingCourseListResp>> getMeetingCourseList(@Field("MsgID") String msgId, @Field("Secret") String secret, @Field("Data") MeetingCourseListReq meetingCourseListReq);
}
